Lists the prefix list on the specified devices.
ipv4
|ipv6
].This example displays the IPv4 prefix list on two devices.
$ efa policy prefix-list list –-type ipv4 –-ip 10.20.246.10-11 Prefix-list details: Name: prefix_v4_1 +------+---------+--------+------------+----+----+---------------+-------------+ | Type | Seq num | Action | Prefix | Ge | Le | DeviceIP | AppState | +------+---------+--------+------------+----+----+---------------+-------------+ | ipv4 | 10 | permit | 10.0.0.0/8 | 16 | | 10.20.246.10 | cfg-in-sync | +------+---------+--------+------------+----+----+---------------+-------------+ | ipv4 | 10 | permit | 10.0.0.0/8 | 16 | | 10.20.246.11 | cfg-in-sync | +------+---------+--------+------------+----+----+---------------+-------------+This example lists the IPv6 prefix lists on the specified devices.
efa policy prefix-list list --type ipv6 --ip 10.20.246.29-30 Prefix-list details: Name: prefix_1_in +------+---------+--------+---------------+----+----+--------------+------------------+ | Type | Seq num | Action | Prefix | Ge | Le | DeviceIP | AppState | +------+---------+--------+---------------+----+----+--------------+------------------+ | ipv6 | 11 | permit | 2001:db8::/48 | | | 10.20.246.29 | cfg-in-sync | +------+---------+--------+---------------+----+----+--------------+------------------+ | ipv6 | 11 | permit | 2001:db8::/48 | | | 10.20.246.30 | cfg-in-sync | +------+---------+--------+---------------+----+----+--------------+------------------+This example lists all prefix lists of type IPv6.
efa policy prefix-list list --type ipv6 Prefix-list details: Name: prefix_1_in +------+---------+--------+---------------+----+----+ | Type | Seq num | Action | Prefix | Ge | Le | +------+---------+--------+---------------+----+----+ | ipv6 | 11 | permit | 2001:db8::/48 | | | +------+---------+--------+---------------+----+----+